<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>模板</title>
</head>
<style>
    * {
        margin: 0;
        padding: 0;
        text-decoration: none;
        list-style: none;
    }

    .main {
        width: 80%;
        margin: auto;

    }

    .header,
    .nav,
    .container,
    .footer {
        float: left;
        width: 100%;
        box-sizing: border-box;
    }

    .header {
        background-color: #ccc;
        padding: 20px;
        text-align: center;
    }

    .nav {
        background-color: #333;

    }

    .nav a {
        color: azure;
        padding: 10px 20px;
        display: inline-block;

    }

    .nav a:hover {
        background: #bbb;
        color: #000;
    }

    .lside {
        width: 200px;
        float: left;
    }

    .rside {
        width: 200px;
        float: right;
    }

    .content {
        margin: 0px 200px;

    }

    .lside.rside.content {
        padding: 5px;
    }

    .footer {
        padding: 10px;
        background-color: #ccc;
        text-align: center;
    }
</style>


<body>
    <div class="main">
        <div class="header">
            <h1>网页头部</h1>
            <p>网页logo</p>

        </div>
        <div class="nav">
            <a href="#">导航栏</a>
            <a href="#">导航栏</a>
            <a href="#">导航栏</a>
            <a href="#">导航栏</a>
        </div>
        <div class="container">
            <div class="lside">
                左边栏

            </div>
            <div class="rside">

                右边栏
            </div>
            <div class="content">
                <p>中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间
                    中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间
                    中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间
                    中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间
                    中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间
                    中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间
                    中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间
                    中间中间中间中间中间中间中间中间中间中间中间中间中间中间中间
                </p>

            </div>
        </div>
        <div class="piaofu">

        </div>
        <div class="footer">
            <p>网页底部，版权声明，联系方式，团队名称，友情链接</p>
        </div>
    </div>


</body>

</html>